package com.partner.boot.service;

import com.partner.boot.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.partner.boot.entity.RolePermission;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 菜牙买菜
 * @since 2023-01-17
 */
public interface IRoleService extends IService<Role> {

    void saveRolePermission(Integer roleId, List<Integer> rolePermissions);

    void saveRole(Role role);

    void updateRole(Role role);
}
